'use strict';

const Controller = require('egg').Controller;
class Leaderboard extends Controller {
    // 排行榜数据
    async leaderboard() {
        const {ctx} = this
        let result = await ctx.service.leaderboard.getLeaderboard()
        ctx.body = {
            msg:200,
            data:result
        }
    }
    //排行榜小说
}

module.exports = Leaderboard